package _220311;

/**
 * @author ShadowLim
 * @create 2022-03-11-10:45
 */
public class _奇数倍数 {

    public static void main(String[] args) {
        for (int i = 2019; ; i += 2019) {
            if (f(i)) {
                System.out.println(i);
                break;
            }
        }
    }

    private static boolean f(int i) {
        String s = String.valueOf(i);
        for (int j = 0; j < s.length(); j++) {
            char str = s.charAt(j);
            if ((str & 1) != 1) {
                return false;
            }
        }
        return true;
    }

}
